package cn.lili.modules.member.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 城主表
 * @TableName li_city_distribution
 */
@TableName(value ="li_city_distribution")
@Data
public class CityDistribution extends BaseStandardEntity implements Serializable {
    /**
     * 省code
     */
    private String privinceCode;

    /**
     * 省名
     */
    private String privinceName;

    /**
     * 城市code
     */
    private String cityCode;

    /**
     * 城市名称
     */
    private String cityName;

    /**
     * 区县code
     */
    private String districtCode;

    /**
     * 区县名称
     */
    private String districtName;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 用户id
     */
    private String memberId = "";

    /**
     * 店主id
     */
    private String distributionId;

    /**
     * 收益
     */
    private Double totalComiss = 0d;

    /**
     * 收益发放状态
     */
    private Integer comissStatus;

    /**
     * 年
     */
    private Integer yearDate;

    /**
     * 月
     */
    private Integer monthDate;

    /**
     * 日
     */
    private Integer dayDate;

    /**
     * 店主状态 1,启用  0,取消资格
     */
    private Boolean distributionStatus;

    /**
     * 收益类型: 1,贡献值 2,飞语绿色积分
     */
    private Integer commissType;

    /**
     * 是否指定城主或更改城主
     */
    private Boolean required;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 收益发放状态名称
     */
    @TableField(exist = false)
    private String comissStatusName;

    @TableField(exist = false)
    private String nameGroup;

    @TableField(exist = false)
    private String districtCodeGroup;

    @TableField(exist = false)
    private Boolean isChild;
}